package com.pateo.retail.canal.model;


import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;
import com.pateo.retail.canal.constant.CommonConstants;
import lombok.Data;

import javax.persistence.Column;
import java.io.Serializable;
import java.lang.reflect.Type;
import java.util.Date;

/**
 * 线索客户主表
 * @author gujiachun
 */

@Data
public class CustomerActionLog implements Serializable {


    @Column(name = "customer_id")
    private Long customer_id;

    @Column(name = "sub_type")
    private Integer customer_action_sub_type;

    @Column(name = "create_date")
    @JSONField(format = CommonConstants.DATA_FORMAT)
    private Date customer_action_create_date;

    @Column(name = "tenant_code")
    private String tenant_code;

}